﻿@using Webdiyer.WebControls.Mvc
@model PagedList<VipSoft.CMS.Core.Entity.Article>
@{
    Layout = "../Shared/_Layout.cshtml";
}
<div class="box">
    <ul class="news_01">
        @foreach (var item in Model)
        {
            <li>
                <a href="/Article/Content/@ViewBag.CId/@item.ID" title=" @item.Title ">
                    <img src="@item.FileName" style="width: 300px; height: 190px" border="0"/>
                    <h5>@item.Title<br/><span>@String.Format("{0:yyyy-MM-dd}", item.CreateDate)</span></h5>
                </a>
                <a href="/Article/Content/@ViewBag.CId/@item.ID">@item.Summary</a>
                <div style="clear: both"></div>
            </li>
        }
    </ul>
   
</div>
<div class="num">
    <div class="pages clear">
        @Html.AjaxPager(Model, new PagerOptions {PageIndexParameterName = "Page", ShowDisabledPagerItems = false, AlwaysShowFirstLastPageNumber = true}, new AjaxOptions {UpdateTargetId = "divArticleList"})
    </div>
</div>
<div style="clear: both"></div>